﻿<UserControl x:Class="Shammateh.Win.UI.Controls.MainStatusBar"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <StatusBar BorderBrush="#939aa3" BorderThickness="1">
            <StatusBarItem x:Name="timeStatusBarItem">
                <TextBlock x:Name="dateTimeTextBlock" />
            </StatusBarItem>
            <Separator />
            <StatusBarItem HorizontalContentAlignment="Right">
                <StackPanel Orientation="Horizontal">
                    <TextBlock x:Name="userTextBlock" ToolTip="User" />
                    <TextBlock x:Name="agentTextBlock" ToolTip="Agent" />
                    <TextBlock x:Name="companyTextBlock" ToolTip="Corporation" />
                </StackPanel>
            </StatusBarItem>
            <StatusBar.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0" />
                    <GradientStop Color="#FFB7BCC1" Offset="1" />
                    <GradientStop Color="#FFE6EAEE" Offset="0" />
                </LinearGradientBrush>
            </StatusBar.Background>
        </StatusBar>
    </Grid>
</UserControl>